.bg {
    background: url("../images/bg.jpg") no-repeat center center;
    background-size: cover;
    height: 1000px;
    margin-top: 80px;
}

.bg .information {
    width: 80%;
    margin: 0 auto;
    padding-top: 40px;
}

.bg .information .base-info {
    width: 100%;
    background: #fff;
    height: 200px;
    display: flex;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.bg .information .base-info .logo {
    width: 200px;
    position: relative;
}

.bg .information .base-info .logo .img {
    background: url(../images/icon.png) no-repeat center center;
    width: 100px;
    height: 100px;
    background-size: cover;
    border-radius: 50%;
    border: 4px solid #68c0ff;;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/*存在的个人头像样式*/
.bg .information .base-info .logo .img img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.bg .information .base-info .info-name {
    width: 90%;
    padding: 20px;
    position: relative;
}

.bg .information .base-info .info-name .nickname {
    color: #333333;
    font-size: 20px;
    font-weight: bold;
    line-height: 20px;
}

/*男*/
.bg .information .base-info .info-name .nickname span .layui-icon-male, .bg .information .base-info .info-name .nickname span .layui-icon-female {
    font-size: 20px;
    margin-left: 10px;
    color: #2196F3;
}

/*女*/
.bg .information .base-info .info-name .nickname span .layui-icon-female {
    color: #f321d2;
}

.bg .information .base-info .info-name .msg {
    margin-top: 20px;
    color: #aaa;
    font-size: 18px;
}

.bg .information .base-info .info-name .fans {
    position: absolute;
    display: flex;
    width: 200px;
    justify-content: space-between;
    right: 20px;
    top: 20px;
    text-align: center;
}

.bg .information .base-info .info-name .fans .fs div:first-child, .bg .information .base-info .info-name .fans .gz div:first-child, .bg .information .base-info .info-name .fans .zan div:first-child {
    font-weight: 700;
    font-size: 25px;
}

.bg .information .base-info .info-name .fans .fs div:last-child, .bg .information .base-info .info-name .fans .gz div:last-child, .bg .information .base-info .info-name .fans .zan div:last-child {
    color: #aaa;
    font-size: 18px;
}

.bg .information .base-info .info-name .msg-text {
    position: absolute;
    bottom: 20px;
    width: 95%;
    color: #aaa;
    font-size: 16px;
    justify-content: space-between;
    display: flex;
}

.bg .information .base-info .info-name .msg-text button, .bg .information .base-info .info-name .msg-text button i {
    font-size: 16px;
}

.bg .information .base-info .info-name .msg-text .cancel-follow-btn {
    background: #ccc;
}

.bg .information .base-info .info-name .user-id {
    display: none;
}

.bg .own {
    width: 80%;
    background: #f6f5fa;
    height: 800px;
    margin: 20px auto;
}

/*覆盖layui*/
.bg .own .layui-tab-brief > .layui-tab-title .layui-this {
    color: #1e9fff;
}

.bg .own .layui-tab-brief > .layui-tab-more li.layui-this:after, .layui-tab-brief > .layui-tab-title .layui-this:after {
    border-bottom: 3px solid #1e9fff;
}

.bg .own .layui-tab-title {
    padding: 20px 20px 0 20px;
}

/* 个人信息 */
.own .base-info-content {
    padding: 40px;
}

.own .base-info-content > div {
    margin-bottom: 30px;
    display: flex;
}

.own .base-info-content > div label {
    width: 20%;
    text-align: right;
}

.own .base-info-content .btn {
    position: relative;
}

.own .base-info-content .btn button {
    position: absolute;
    right: 0px;
    padding: 0 40px;
    border-radius: 20px;
}


/*收藏中心*/
.collections {
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
}

.collection-item {
    width: 23.5%;
    margin: 0 2% 30px 0;
    transition: all .3s linear;
    cursor: pointer;
    border-radius: 2px;
    padding: 20px 0;
    background: #ffffff;
}

.collection-item:nth-child(4n), .friends .friend:nth-child(4n) {
    margin-right: 0;
}

.collection-item:hover, .friends .friend:hover {
    box-shadow: 0px -3px 0px 0 rgb(255 78 0);
}

.collection-item .title, .collection-item .sub-title, .collection-item .create-time {
    padding: 20px;
}

.collection-item .title {
    font-size: 16px;
    font-weight: 700;
}

.collection-item .title .type {
    background: #00c4ff;
    padding: 2px 10px;
    color: #fff;
    margin-right: 10px;
    font-size: 14px;
}

/*收藏的是paper样式*/
.collection-item .title .p-type {
    background: #ff0086;
}

.collection-item .sub-title {
    margin: 10px 0;
    display: flex;
    line-height: 20px;
}

.collection-item .sub-title .level {
    font-size: 20px;
    color: #FFB800;
    font-family: layui-icon !important;
}

.collection-item .sub-title .level i {
    font-size: 20px;
}

.collection-item .create-time {
    color: #343f54;
    margin-bottom: 10px;
    border-top: 1px solid #ccccccad;
    padding-top: 10px;
    text-align: right;
}

/*好友列表*/
.friends {
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
}

.friends .friend {
    width: 23.5%;
    margin: 0 2% 30px 0;
    transition: all .3s linear;
    cursor: pointer;
    border-radius: 2px;
    padding: 20px 0;
    background: #ffffff;
    display: flex;
}

.friends .friend .friend-icon {
    border-radius: 50%;
    margin: 0 20px;
}

.friends .friend .friend-icon img {
    width: 50px;
    height: 50px;
}

.friends .friend .friend-info {
    color: #aaaaaa;
}

.friends .friend .friend-info .friend-sign {
    margin: 10px 0;
}

/*上传头像*/
.bg .base-info .logo .upload-icon {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
/*上传头像的button*/
.bg .base-info .logo .upload-icon button {
    border: 3px solid #084677;
    background-color: #fff;
    color: #020202;
    height: 42px;
}
.bg .base-info .logo .upload-icon .layui-btn .layui-icon{
    margin-right: 0px;
}
.bg .base-info .logo .upload-icon .layui-btn-primary:hover {
    border: 3px solid #008eff;
    background-color: #fff;
    color: #020202;
}

.bg .base-info .logo .upload-icon i {
    font-size: 24px;
}

/*悬停时原头像变色*/
.upload-back-img {
    opacity: .2;
}

/*覆盖layui*/
.own .layui-input, .layui-textarea {
    background: #f6f5fa;
}

.own .layui-icon-component {
    color: #aaa;
}

.own .layui-input-block, .own .user-sex {
    display: block;
    width: 100%;
    margin-left: 0;
    height: 38px;
}

.own .layui-tab-item {
    height: 600px;
    overflow: auto;
}